package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.Message;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgActionAddress;

public interface YgActionAddressService {

	List<YgActionAddress> find();

	int findCount();

	YgActionAddress findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgActionAddress ygActionAddress);

	int update(YgActionAddress ygActionAddress);

	int saveOrUpdate(YgActionAddress ygActionAddress);

	ResultSet<YgActionAddress> search(QueryInfo queryInfo, String userName, Date startDate, Date endDate,
			Boolean isSync, String q);

	Message saveActionOrder(Long actionId);

	Message syncAction(Long actionAddrId);

}
